package com.sy.service;

import com.sy.entity.CCollection;
import com.sy.entity.Cartoon;
import com.sy.entity.Media;
import com.sy.entity.VCollection;

import java.util.List;

/**
 * @author King
 * @Date 2021/1/18 09:33
 */
public interface CollectionService {

    List<Cartoon> getCartCollection(Integer userId);

    List<Media> getMediaCollection(Integer userId);

    int delCollectionCartoon( Integer userId, Integer cId);

    int delCollectionMedia( Integer userId, Integer cId);

    int insertCartoonCollection( Integer userId, Integer cId);

    int insertMediaCollection( Integer userId, Integer cId);

    CCollection selectCartoonCollection(Integer userId, Integer cId);

    VCollection selectMediaCollection(Integer userId, Integer cId);
}
